package com.sokal.easycare.modules.payment.entity;

import com.sokal.easycare.common.persistence.DataEntity;

/**
 * 账户相关Entity
 * @author nibo
 * @version 2017-04-10
 */
public class UserAccount extends DataEntity<UserAccount> {
	
	private static final long serialVersionUID = 1L;
	private String userId;		// 用户id
	private Double balance;		// 余额
	private Double frozenAmount;		// 冻结金额
	private Double guarantee;		// 质保金额
	private Double deposit;  //角色用户保证金
	
	public UserAccount() {
		super();
	}

	public Double getGuarantee() {
		return guarantee;
	}

	public void setGuarantee(Double guarantee) {
		this.guarantee = guarantee;
	}

	public UserAccount(String id){
		super(id);
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Double getBalance() {
		return balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}
	
	public Double getFrozenAmount() {
		return frozenAmount;
	}

	public void setFrozenAmount(Double frozenAmount) {
		this.frozenAmount = frozenAmount;
	}

	public Double getDeposit() {
		return deposit;
	}

	public void setDeposit(Double deposit) {
		this.deposit = deposit;
	}
	
	
}